package com.xwli.springcloud.service;


import java.util.concurrent.CompletableFuture;

public interface AsyncTaskService {

    CompletableFuture<String> testOne() throws InterruptedException;

    CompletableFuture<String> testTwo() throws InterruptedException;

    CompletableFuture<Integer> testThree() throws InterruptedException;

    CompletableFuture<Integer> testFour() throws InterruptedException;
}
